package com.moneywelcome.orderassembly.service;

import com.moneywelcome.orderassembly.model.RedeemRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.moneywelcome.orderfacade.dto.RedeemOrderDto;
import com.moneywelcome.orderfacade.vo.OrderPageVo;
import com.moneywelcome.orderfacade.vo.RedeemRecordVo;
import com.moneywelcome.results.PageResult;

import java.io.IOException;

/**
 * <p>
 * 赎回记录表 服务类
 * </p>
 *
 * @author alice
 * @since 2022-01-06
 */
public interface RedeemRecordService extends IService<RedeemRecord> {

    RedeemOrderDto create(RedeemRecordVo redeemRecordVo);

    void complete() throws IOException;

    PageResult<RedeemOrderDto> queryRecord(OrderPageVo orderPageVo);

}
